package com.applet;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;


@Slf4j
@SpringBootApplication
@ServletComponentScan            // 扫描Servlet组件过滤器
@EnableTransactionManagement     // 开启事务
@MapperScan(value = "com.applet.**.mapper")  //扫描mapper层接口
public class AppLetServerApplication {
    public static void main(String[] args) {
        SpringApplication.run(AppLetServerApplication.class, args);
        log.info(" Applet-server action success...... ");
    }
}
